package com.cafuc.javaEE.service.impl;

import com.cafuc.javaEE.service.AService;
import com.cafuc.javaEE.service.BService;

public class AServiceImpl implements AService {

    private BService bService;

    public void setbService(BService bService) {
        this.bService = bService;
    }

    @Override
    public void call() {
        bService.display();
        System.out.println("==== call ====");
    }
}
